package com.scse.bms.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.sql.Timestamp;

/**
 * @Title: BookDO
 * @Author: 吴赠禹
 * @Date: 2021/1/11 15:27
 * @Version: 1.0
 * @Description: 电子书实体对象
 */

@Getter
@Setter
@ToString
@Alias("bookDO")
public class BookDO {

    /**
     * 分别为ID、书名、作者、出版社
     * 出版日期、上传日期、简介、路径、封面、
     * 类别、大小、关键词
     */
    private Integer id;
    private String title;
    private String author;
    private String press;
    private String pressTime;
    private String uploadTime;
    private String description;
    private String src;
    private String img;
    private Integer categoryId;
    private Long size;
    private Integer themeId;
}
